﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Sell.ascx.cs" Inherits="Incubator.Controls.Sell" %>
<asp:Button ID="btnBuy" runat="server" Text="BUY" onclick="btnBuy_Click"/>
&nbsp;&nbsp;&nbsp;
<asp:Button ID="btnSell" runat="server" Text="SELL" Enabled="False"  />
&nbsp;&nbsp;&nbsp;
<p>
    &nbsp;</p>
<p>
    <asp:Table ID="tblShares" runat="server" GridLines="Both">
        <asp:TableHeaderRow>
            <asp:TableHeaderCell >
                Company
            </asp:TableHeaderCell>
            <asp:TableHeaderCell >
                Founder
            </asp:TableHeaderCell>
            <asp:TableHeaderCell >
                Shares Owned
            </asp:TableHeaderCell>
         </asp:TableHeaderRow>
    </asp:Table>
</p>
<p>
    <asp:TextBox ID="tbQuant" runat="server"></asp:TextBox>
    <asp:Literal ID="Literal2" runat="server" Text="Quantities to Sell"></asp:Literal>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
        ControlToValidate="tbQuant" ErrorMessage="Please enter a positive number." 
        ValidationExpression="^[0-9]+"></asp:RegularExpressionValidator>
</p>
<p>
    <asp:TextBox ID="tbPrice" runat="server"></asp:TextBox>
    <asp:Literal ID="Literal1" runat="server" Text="Price per Share"></asp:Literal>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
        ControlToValidate="tbPrice" ErrorMessage="Please enter a positive number." 
        ValidationExpression="^[0-9]+"></asp:RegularExpressionValidator>
</p>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" />
<asp:Button ID="btnPut" runat="server" Text="Offer To Marker Place" 
    onclick="btnPut_Click"  />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:Button ID="btnGetInfo" runat="server" Text="Get Info" 
    onclick="btnGetInfo_Click"  />

<br />
<asp:Label ID="lbError" runat="server" ForeColor="Red"></asp:Label>


